<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>Scrum Game</title>
	<h:outputStylesheet name="css/main.css" />
	<link rel="shortcut icon" type="image/png" href="imagens/scrumicon.ico" />
	
</h:head>

<h:body>
	<p:layout fullPage="true">
		<p:layoutUnit position="north" size="90">
			<ui:include src="/templates/top.xhtml" />
		</p:layoutUnit>
		
		<p:layoutUnit position="west" size="250">
			<h:form id="formWest">
				<h:commandLink value="Ir para o Início" action="/usuario/index" /> <br />
				<h:commandLink value="Portal Administrativo" action="/admin/index" rendered="#{sessaoMBean.showAdmin()}" />
				<hr />
			</h:form>
			<ui:include src="/usuario/perfil.xhtml" />
		</p:layoutUnit>
		
		<p:layoutUnit position="center">
			<ui:insert name="centro"></ui:insert>
		</p:layoutUnit>
		
		<p:layoutUnit position="east" header="Jogadores" size="150" resizable="true" collapsible="true" effect="drop">
			<ui:include src="/usuario/usuarios_logados.xhtml" />
		</p:layoutUnit>
	</p:layout>

</h:body>

</html>
